<div id="latest-gists">
  <h1>Latest Gists</h1>
  <table>
    <%= render(:partial => "shared/gist" , :collection => @gists) %>
  </table>
</div>

<div id="gist-nav">
  <div id="gistrs">
    <h1>Gistrs</h1>
	<% @users.each do |user|%>
	  <%= link_to h(user.login), user %>
	<% end %>
  </div>
  <div id="tags">
    <h1>Get the Gist about...</h1>
    <% Tag.cloud(@tags, %w(100% 120% 140% 160%)) do |tag, font_size| %>
      <a href="/tags/<%=tag.id%>" style="font-size:<%=font_size%>"><%=h(tag.name)%></a>
    <% end %>
  </div>
</div>